﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>某某家具设计公司企业官网-模板之家</title>

</head>
<body>
	<!-- 引入头部 -->
	<jsp:include page="header.jsp"></jsp:include>

	<div>
		<header class="header-article-list">
			<div class="article-position">
				<a href="NewsServlet?method=getPreNews&id=${pre.id }"> <span>上一篇</span> <span>${pre.title }</span>
				</a>
			</div>
			<ul>
				<c:forEach items="${newsTypeList}" var="type">
					<li><a
						href="NewsServlet?method=getNewsByType&typeId=${type.id }">
							${type.name} </a></li>
				</c:forEach>
			</ul>
			<div class="article-more-btn">
				<a href="NewsServlet?method=getNextNews&id=${next.id }"> <span>下一篇</span> <span>${next.title }</span>
				</a>
			</div>
		</header>

		<section class="article-content">
			<h4>${news.title }</h4>
			<main> ${news.content } </main>
		</section>
	</div>
	<!-- 引入脚部 -->
	<jsp:include page="footer.jsp"></jsp:include>
	﻿
</body>
</html>